-
Notifications
You must be signed in to change notification settings - Fork 19
Add omega support and enhance barotropic_gyre #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add omega support and enhance barotropic_gyre #286
Conversation
TestingThis test has been run with Omega on chrysalis (intel, openmpi, cpu) but doesn't produce meaningful results in the absence of wind forcing. |
|
@mark-petersen Can you suggest the changes you had to make to get Omega to run properly? Or if it's easier you can check out my branch, make changes, and open a new PR and I'll close this one. Thanks! |
|
Thanks! I am happy to make polaris alterations after I return, but realistically it will be after May 19. Here are the changes I needed to run the barotropic gyre case: omega.yml file Add wind fields to init.nc This could also be accomplished by adding a new forcing stream to but it requires an addition to the code. From Brian O'Neill:
output alteration for polaris analysis step That was just changing camel case to Pascal case. That is a general need for all analysis going forward. |
5a1f62e to
2c82f97
Compare
|
@mark-petersen I added this commit 2c82f97 to reflect #286 (comment). Since we are still waiting on Omega forcing stream and further changes will be made, this commit is untested. |
2c82f97 to
fd49f98
Compare
|
I moved the forcing to the initial state file and successfully ran the |
11274a9 to
d1207f9
Compare
TestingFree-slip results generated with chrys, intel-openmpi are shown here: E3SM-Ocean-Discussion/E3SM#49 (comment) |
|
@xylar would you like to review this pr? Happy to ask others if you have too much on your plate right now. |
|
Outstanding issue: |
|
@cbegeman, I can review but I have somewhat limited ability to test right now because I don't have Chrysalis access. I'll put it on my to-do list for tomorrow. |
|
Hi @mwarusz or @mark-petersen, Do either of you have time to look into the fail I'm getting with Omega for this wind-forced test case? I think it's likely related to wind forcing but I'm not sure if the issue is arising because I am applying the forcing incorrectly or due to something internal to that Omega tendency. The test can be found on frontier at |
xylar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on a code inspection, this looks good. I'm happy to test once I get Chrysalis access and/or when the Omega issues get straightened out.
@cbegeman |
|
@mwarusz Thanks for looking into it! I changed the permissions. Let me know if you still have trouble accessing it. The solution is NaNs sometime after 3 time steps (the duration of the short run) but before 1 month (the output interval of the long run). I tried decreasing the time step with the same results. |
|
@mwarusz Great! Thanks for testing. I ran the omega RK4 test with dt = 00:01:02. That actually is consistent with the barotropic time step I had used for the MPAS-O test. I'll make changes to the test case config so that the RK4 time step is set to the barotropic time step. |
8f9cfc4 to
d39853e
Compare
|
@brian-oneill Thanks for offering to help with this! The variable that I would need in the output is called |
Omega no longer needs this model config option and instead reads it from the input file.
d39853e to
18d00ac
Compare
|
I rebased onto #384 and this test case still passes. I added it to the omega_pr suite even though the solution isn't as close to the analytic solution as one would like. It still seemed better to increase the number of PR tests that might break when Omega needs fixing. @xylar Ready for your review when you have time. I'll wait to merge until after #384. |


This PR applies the following changes:
config_wall_slip_factoras featured in Add free-slip, partial-slip and no-slip momentum BCs E3SM-Ocean-Discussion/E3SM#49Checklist
api.md) has any new or modified class, method and/or functions listedTestingcomment in the PR documents testing used to verify the changes